import api from '@/utils/request'

export default class configApi {
    static fetchConfig = () => api({
        url: '/config/get', // 请求地址
        method: 'get'
    })

    static setConfig = (data: any) => api({
        url: '/config/set', // 请求地址
        method: 'post',
        data
    })
}
